//
//  macroConfig.h
//  ExhibitionHall
//
//  Created by 王洋 on 2019/5/28.
//  Copyright © 2019 王洋. All rights reserved.
//

#ifndef macroConfig_h
#define macroConfig_h

#define WEAKSELF __weak typeof(self) weakSelf = self;
#define APP_VERSION                 [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]


#if DEBUG
#define NSLog(FORMAT, ...) fprintf(stderr,"------ %s ------ %d 行 ------ %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
#else
#define NSLog(FORMAT, ...) nil
#endif


//Notification

#pragma mark ThirdConfig

//  友盟配置
//#define UM_HARE_APPKEY    @"5d6d1cb7570df30a1a000040"

#define TT_wxAppID        @"wxf90fd221278b8b0f"
#define TT_wxAppSecret    @"978b81b464751750dc1cf511b30d26cf"


#define OSS_AccessKeyId                 @"LTAI4FezQuSRJaZCSWQWnqcM"
#define OSS_AccessKeySecret             @"sHZLAT9nxGdenhckvQb8HqAJlKP16g"

#define OSS_ENDPOINT                    @"http://oss-cn-hangzhou.aliyuncs.com"
#define OSSBUCKET_NAME                  @"pdl-ossrw201909"


//  个推开发者网站中申请App时，注册的AppId、AppSecret、AppKey

#if DEBUG

#define kGtAppId           @"WOq1ZqZxLa8uT08lBpK121"
#define kGtAppSecret       @"6XzWSMhAtc8F856b72G6jA"
#define kGtAppKey          @"ummgUoXgNK6V8cEbWniST8"

#else

#define kGtAppId           @"76yELzCIZR8fHAMHeI00M4"
#define kGtAppSecret       @"FjFnoJVINc8T8qwo3CngcA"
#define kGtAppKey          @"sxqBQnY67j9ML0byPolPE"

#endif

////  云信配置
//#define TT_NIM_AppKey      @"49059a92de81c620fb471505c62bb1e9"
//#define TT_NIM_AppSecret   @"94360deeb8af"



//#if DEBUG
//
////预授权的钱
//#define TT_YUSHOUQUAN_MONEY   @"0.01"
//
//#else

//预授权的钱
#define TT_YUSHOUQUAN_MONEY   @"300"

//#endif



//ONCE ACTION
#define TT_ONCE_ACTION_HOME_COUPON      @"home_coupon_remind_alert"

#endif /* macroConfig_h */
